package com.hairline.service;

import com.hairline.bean.*;
import com.hairline.bean.bo.ShipOrderBO;
import com.hairline.bean.vo.*;

import java.util.List;

public interface MarketService {

    List<Region> regionList();

    BrandListVO brandList(Integer integer, Integer page, Integer limit, String name, String sort, String order);

    int brandCreate(Brand brand);

    int brandUpdate(Brand brand);

    int brandDelete(Brand brand);

    List<Category> categoryList();

    int categoryCreate(Category category);

    List<CategoryL1VO> categoryL1();

    int categoryUpdate(Category category);

    int categoryDelete(Category category);

    OrderListVO orderList(Integer page, Integer limit, String sort, String order, Short[] orderStatusArray,
                          String orderSn, Integer userId);

    OrderDetailVO orderDetail(Integer id);

    int orderShip(ShipOrderBO shipOrderBO);

    IssueListVO issueList(Integer page, Integer limit, String question, String sort, String order);

    int issueCreate(Issue issue);

    int issueUpdate(Issue issue);

    int issueDelete(Issue issue);

    KeywordListVO keywordList(Integer page, Integer limit, String keyword, String url, String sort, String order);

    int keywordCreate(Keyword keyword);

    int keywordUpdate(Keyword keyword);

    int keywordDelete(Keyword keyword);
}
